﻿namespace Infrastructure.ExternalService.Core.User;

public class EmployeeInfo
{
    public string EeId { get; set; }
    public string DptId { get; set; }
    public string DptName { get; set; }
    public string SchoolId { get; set; }
    public string UserName { get; set; }
    public string SchoolName { get; set; }
    public string UserId { get; set; }
    public string EeNo { get; set; }

    /// <summary>
    /// WorkStatus: l - 离职  I - 离职中 O - 在职 W - 入职中
    /// </summary>
    public string WorkStatus { get; set; }
    /// <summary>
    /// 是否离职
    /// </summary>
    public bool IsLeave => WorkStatus is "L" or "I";
}